package com.topnav.mc.common;

public class Constant {
    /**
     * 国标服务器
     */
    public static final String CACHE_KEY_GBSERVER = "GB-SERVERS";
    /**
     * 系统参数
     */
    public static final String CACHE_KEY_SYSTEMCONFIG = "SYSTEM-CONFIG";
    /**
     * 4G设备和摄像头数据
     */
    public static final String CACHE_KEY_CAMERA_DEVICES = "CAMERA-DEVICES-INFO";
    public static final String CACHE_KEY_CAMERA_DEVICES_BY_CODE = "CAMERA-DEVICES-INFO-BY_CODE";

    public static final String CACHE_KEY_USERS = "CACHE_KEY_USERS";
    public static final String CACHE_KEY_USERS_BY_LOGINNAME = "CACHE_KEY_USERS_BY_LOGINNAME";

    /**
     * 4G设备在线前辍
     */
    public static final String CACHE_KEY_DEVICE_PREFIX = "VMP_keeplive_";

    /**
     * 4G设备在线状态栏
     */
    public static final String DEVICE_CURRENT_STATUS = "DEVICE_CURRENT_STATUS";

    /**
     * 4G设备当前位置
     */
    public static final String DEVICE_CURRENT_LOCATION = "DEVICE_CURRENT_LOCATION";


    public static final String REDIS_DEVICE_CURRENT_LOCATION = "REDIS_DEVICE_CURRENT_LOCATION";

    /**
     * 4G设备最后位置
     */
    public static final String CACHE_KEY_DEVICES_LASTPOSITION = "DEVICE-LAST-POSITION";

    /**
     * 4G设备是否在线，从redis中读取
     */
    public static final String VMP_KEEPLIVEKEY_PREFIX="VMP_keeplive_";

    /**
     * 登录用户，单位，权限数据
     */
    public static final String USER_ORGANIZATION_ROLE="USER_ORGANIZATION_ROLE";


    /**
     * 保存于MDC中
     */
    public static final String MDC_TOEKN="MDC_TOEKN";

    /** 播放时国标服务器超时间 */
    public static int PLAY_TIMEOUT=60;

}
